<?php
namespace apps\common\models;

class SystemDic extends \Phalcon\Mvc\Model
{

    /**
     *
     * @var string
     * @Primary
     * @Identity
     * @Column(type="string", length=20, nullable=false)
     */
    public $id;

    /**
     *
     * @var string
     * @Column(type="string", nullable=false)
     */
    public $create_time;

    /**
     *
     * @var string
     * @Column(type="string", nullable=false)
     */
    public $update_time;

    /**
     *
     * @var integer
     * @Column(type="integer", length=1, nullable=false)
     */
    public $delsign;

    /**
     *
     * @var string
     * @Column(type="string", length=256, nullable=true)
     */
    public $descr;

    /**
     *
     * @var string
     * @Column(type="string", length=128, nullable=true)
     */
    public $title;

    /**
     *
     * @var string
     * @Column(type="string", length=255, nullable=true)
     */
    public $key;

    /**
     *
     * @var string
     * @Column(type="string", nullable=true)
     */
    public $value;

    /**
     *
     * @var integer
     * @Column(type="integer", length=4, nullable=true)
     */
    public $valtype;

    /**
     *
     * @var string
     * @Column(type="string", length=64, nullable=true)
     */
    public $cateid;

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'bwyt_system_dic';
    }



}
